<?php

namespace app\admin\model;

use think\Exception;

class topicInfo extends \think\Model
{
    protected $autoWriteTimestamp = false;

    public static function saveAids($a_c_ids = [], $tsid=0, $tid)
    {
        foreach ($a_c_ids as $value) {
            self::create([
                'tid' => $tid,
                'tsid' => $tsid,
                'aid' => $value['aid'],
                'cid' => $value['cid']
            ]);
        }
    }
}
